uniform vec3 cameraPos;
varying vec3 normal, lightDir;

void main(){

  vec4 vertPos = gl_ModelViewMatrix * gl_Vertex;
  lightDir= vec3(cameraPos-vertPos.xyz);
  lightDir = normalize(lightDir);
  normal = normalize(gl_NormalMatrix*gl_Normal);

  gl_Position = ftransform();
}
